package com.dao;

import java.util.List;

import com.bean.CraftPart;

public interface CraftPartDao {

	public abstract void save(CraftPart transientInstance);

	public abstract void delete(CraftPart persistentInstance);

	public abstract CraftPart findById(java.lang.Integer id);

	public abstract List findByExample(CraftPart instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByPartId(Object partId);

	public abstract List findByCraftId(Object craftId);

	public abstract List findAll();

	public abstract CraftPart merge(CraftPart detachedInstance);

	public abstract void attachDirty(CraftPart instance);

	public abstract void attachClean(CraftPart instance);

}